import request from '@/utils/request';


//轮播列表
export function _getAllSwiper(){
    return request({
        url:"/admin/getAllSwiper",
        method:"GET"
    })
}

//添加轮播
export function _addSwiper(data){
    return request({
        url:"/admin/addSwiper",
        data
    })
}

//删除轮播
export function _deleteSwiper(params){
    return request({
        url:"/admin/deleteSwiper",
        method:"GET",
        params
    })
}

//修改轮播
export function _updateSwiper(data){
    return request({
        url:"/admin/updateSwiper",
        data
    })
}